package com.outdoor.pojo.vo;

import com.outdoor.pojo.entity.Node;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class TrackVO {
    private Long id;

    //用户id
    private Long uid;
    //轨迹名称
    private String name;
    //总里程
    private Double distance;
    //开始时间
    private LocalDateTime startTime;
    //结束时间
    private LocalDateTime endTime;
    //最高海拔
    private Double maxAltitude;
    //最低海拔
    private Double minAltitude;
    //节点列表
    private List<Node> nodes = new ArrayList<>();
}
